package bean.vo;

import com.alibaba.fastjson.annotation.JSONField;
import commons.jdbc.annotation.Column;
import commons.jdbc.annotation.PrimaryKey;
import lombok.Data;

import java.util.Date;

/**
 * bean.vo
 * User: xlh
 * Date: 2024/12/18 10:16
 * motto:推到高塔
 * Description:
 * Version: V1.0
 */
@Data
public class CostOption {
    private Integer chargeRecordId;
    //显示用户的id，属于user表，主键为user_id，外键为room_id
    private Integer userId;
    //显示用户名字，属于user表，主键为user_id，外键为room_id
    private String userName;
    //显示房间号，属于room表主键为room_id
    private String  roomNumber;
    //显示缴费金额，属于expense_type表主键为type_id
    private String  typeName;
    //显示缴费金额，属于expense_type表主键为type_id
    private Double typePrice;
    //显示缴费月份，属于expense_type表主键为type_id
    private String  typeTime;
    //显示支付方式，属于charge_record表主键为charge_record_id，外键是type_id，user_id
    private String  paymentMethod;
    //显示用户缴费的时间，属于charge_record表主键为charge_record_id，外键是type_id，user_id
    @JSONField(format = "yyyy-MM-dd")
    private Date chargeDate;
    //is_dunned在charge_record表中是int型，表中是0现在要显示未缴费，表中是1显示已缴费，表中是2显示已催缴，charge_record表，主键为charge_record_id，外键是type_id，user_id
    private String isDunned;
}
